// by Xeno
#include "x_setup.sqf"
if (!X_Client) exitWith {};

disableSerialization;

d_still_in_intro = true;

sleep 4;

#ifndef __TT__
1 cutRsc ["XDomLabel","PLAIN",1];
titleText ["{ O p 4 } D O M I N A T I O N ! 2\n\nACE WOUNDS", "PLAIN DOWN", 1];
#else
titleText ["D O M I N A T I O N ! 2\n\nTwo Teams", "PLAIN DOWN", 1];
#endif

sleep 14;
titleRsc ["Titel1", "PLAIN"];

d_still_in_intro = false;

sleep 3;
22 cutRsc ["D_SayHello","PLAIN",2.2];
_control = __uiGetVar(D_SayHello) displayCtrl 50;
_control ctrlSetText format ["Welcome to the Op4 server, %1...\n\n TS3 is required to fly and operate armor,\n see the right side of map for details. \n\n Visit us at www.op4gaming.com", name player];

sleep 10;
#ifndef __ACE__
if (!isNil {__pGetVar(d_p_ev_hd)}) then {d_phd_invulnerable = false};
#else
player setVariable ["ace_w_allow_dam", nil];
#endif